#!/bin/sh


filename="/home/myuser1/logical"
test ! -e $filename && touch $filename && echo "$filename 文件被创建" && exit 0
test -f $filename && rm $filename && mkdir $filename && echo "$filename 目录被创建" && exit 0

rm -rf $filename
echo "$filename 目录被删除"



	
